﻿@model SAKS.ViewModels.PersonInfoCreateUpdateModel

@{
    ViewBag.Title = "用户信息";
    Layout = "~/Views/Shared/_Layout.cshtml";
}
<link href="@Url.Content("~/Content/themes/base/validationEngine.jquery.css")" rel="stylesheet" type="text/css" />
<script src="@Url.Content("~/Scripts/jquery.validationEngine.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validationEngine-ch.js")" type="text/javascript"></script>


<div class="account">
    <h3>用户信息</h3>
    <div class="account-form ">
        @using (Html.BeginForm()) {
            @Html.ValidationSummary(true)
            @Html.Partial("PartialPersonInfo")
            <p>
			    <input type="submit" value="确定" />
		    </p>
        }
    </div>
</div>

<script type="text/javascript">
    $(function () {
        $("form").validationEngine();
        $("input[type='submit']").button();
        $("#BirthDay").datepicker({
            changeMonth: true,
            changeYear: true,
            yearRange: '1949:2010',
            dateFormat: 'yy-mm-dd',
            dayNames: ['周日', '周一', '周二', '周三', '周四', '周五', '周六'],
            dayNamesMin: ['日', '一', '二', '三', '四', '五', '六'],
            monthNamesShort: ['一', '二', '三', '四', '五', '六', '七', '八', '九', '十', '十一', '十二']
        });
    });
</script>